<!DOCTYPE HTML>
<html>
	<head>
		<meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
		<title>MFDocumentViewController Class Reference</title>
		<meta id="xcode-display" name="xcode-display" content="render"/>
		<meta name="viewport" content="width=550" />
		<link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
		<link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" />
		<meta name="generator" content="appledoc 2.0.5 (build 748)" />
	</head>
	<body>
		<header id="top_header">
			<div id="library" class="hideInXcode">
				<h1><a id="libraryTitle" href="../index.html">FastPdfKit </a></h1>
				<a id="developerHome" href="../index.html">MobFarm</a>
			</div>
			
			<div id="title" role="banner">
				<h1 class="hideInXcode">MFDocumentViewController Class Reference</h1>
			</div>
			<ul id="headerButtons" role="toolbar">
				<li id="toc_button">
					<button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button>
				</li>
				<li id="jumpto_button" role="navigation">
					<select id="jumpTo">
	<option value="top">Jump To&#133;</option>
	
	
	
	
	<option value="tasks">Tasks</option>
	
	
	
	
	
	<option value="properties">Properties</option>
	
	<option value="//api/name/defaultEdgeFlipWidth">&nbsp;&nbsp;&nbsp;&nbsp;defaultEdgeFlipWidth</option>
	
	<option value="//api/name/defaultMaxZoomScale">&nbsp;&nbsp;&nbsp;&nbsp;defaultMaxZoomScale</option>
	
	<option value="//api/name/directionalLockEnabled">&nbsp;&nbsp;&nbsp;&nbsp;directionalLockEnabled</option>
	
	<option value="//api/name/documentDelegate">&nbsp;&nbsp;&nbsp;&nbsp;documentDelegate</option>
	
	<option value="//api/name/documentInteractionEnabled">&nbsp;&nbsp;&nbsp;&nbsp;documentInteractionEnabled</option>
	
	<option value="//api/name/fpkAnnotationsEnabled">&nbsp;&nbsp;&nbsp;&nbsp;fpkAnnotationsEnabled</option>
	
	<option value="//api/name/legacyModeEnabled">&nbsp;&nbsp;&nbsp;&nbsp;legacyModeEnabled</option>
	
	<option value="//api/name/overlayEnabled">&nbsp;&nbsp;&nbsp;&nbsp;overlayEnabled</option>
	
	<option value="//api/name/padding">&nbsp;&nbsp;&nbsp;&nbsp;padding</option>
	
	<option value="//api/name/pageFlipOnEdgeTouchEnabled">&nbsp;&nbsp;&nbsp;&nbsp;pageFlipOnEdgeTouchEnabled</option>
	
	<option value="//api/name/pagedScrollView">&nbsp;&nbsp;&nbsp;&nbsp;pagedScrollView</option>
	
	<option value="//api/name/previewsCount">&nbsp;&nbsp;&nbsp;&nbsp;previewsCount</option>
	
	<option value="//api/name/showHorizontalScroller">&nbsp;&nbsp;&nbsp;&nbsp;showHorizontalScroller</option>
	
	<option value="//api/name/showShadow">&nbsp;&nbsp;&nbsp;&nbsp;showShadow</option>
	
	<option value="//api/name/startingPage">&nbsp;&nbsp;&nbsp;&nbsp;startingPage</option>
	
	<option value="//api/name/useTiledOverlayView">&nbsp;&nbsp;&nbsp;&nbsp;useTiledOverlayView</option>
	
	<option value="//api/name/zoomInOnDoubleTapEnabled">&nbsp;&nbsp;&nbsp;&nbsp;zoomInOnDoubleTapEnabled</option>
	
	
	
	
	
	
	<option value="instance_methods">Instance Methods</option>
	
	<option value="//api/name/addDocumentDelegate:">&nbsp;&nbsp;&nbsp;&nbsp;- addDocumentDelegate:</option>
	
	<option value="//api/name/addOverlayDataSource:">&nbsp;&nbsp;&nbsp;&nbsp;- addOverlayDataSource:</option>
	
	<option value="//api/name/addOverlayViewDataSource:">&nbsp;&nbsp;&nbsp;&nbsp;- addOverlayViewDataSource:</option>
	
	<option value="//api/name/automodeOnRotation">&nbsp;&nbsp;&nbsp;&nbsp;- automodeOnRotation</option>
	
	<option value="//api/name/autozoomOnPageChange">&nbsp;&nbsp;&nbsp;&nbsp;- autozoomOnPageChange</option>
	
	<option value="//api/name/cleanUp">&nbsp;&nbsp;&nbsp;&nbsp;- cleanUp</option>
	
	<option value="//api/name/convertPoint:fromOverlayToPage:">&nbsp;&nbsp;&nbsp;&nbsp;- convertPoint:fromOverlayToPage:</option>
	
	<option value="//api/name/convertPoint:fromViewtoPage:">&nbsp;&nbsp;&nbsp;&nbsp;- convertPoint:fromViewtoPage:</option>
	
	<option value="//api/name/convertPoint:toOverlayFromPage:">&nbsp;&nbsp;&nbsp;&nbsp;- convertPoint:toOverlayFromPage:</option>
	
	<option value="//api/name/convertPoint:toViewFromPage:">&nbsp;&nbsp;&nbsp;&nbsp;- convertPoint:toViewFromPage:</option>
	
	<option value="//api/name/convertRect:fromOverlayToPage:">&nbsp;&nbsp;&nbsp;&nbsp;- convertRect:fromOverlayToPage:</option>
	
	<option value="//api/name/convertRect:fromViewToPage:">&nbsp;&nbsp;&nbsp;&nbsp;- convertRect:fromViewToPage:</option>
	
	<option value="//api/name/convertRect:toOverlayFromPage:">&nbsp;&nbsp;&nbsp;&nbsp;- convertRect:toOverlayFromPage:</option>
	
	<option value="//api/name/convertRect:toViewFromPage:">&nbsp;&nbsp;&nbsp;&nbsp;- convertRect:toViewFromPage:</option>
	
	<option value="//api/name/direction">&nbsp;&nbsp;&nbsp;&nbsp;- direction</option>
	
	<option value="//api/name/edgeFlipWidth">&nbsp;&nbsp;&nbsp;&nbsp;- edgeFlipWidth</option>
	
	<option value="//api/name/gesturesDisabled">&nbsp;&nbsp;&nbsp;&nbsp;- gesturesDisabled</option>
	
	<option value="//api/name/initWithDocumentManager:">&nbsp;&nbsp;&nbsp;&nbsp;- initWithDocumentManager:</option>
	
	<option value="//api/name/lead">&nbsp;&nbsp;&nbsp;&nbsp;- lead</option>
	
	<option value="//api/name/leftPage">&nbsp;&nbsp;&nbsp;&nbsp;- leftPage</option>
	
	<option value="//api/name/mode">&nbsp;&nbsp;&nbsp;&nbsp;- mode</option>
	
	<option value="//api/name/moveToNextPage">&nbsp;&nbsp;&nbsp;&nbsp;- moveToNextPage</option>
	
	<option value="//api/name/moveToPreviousPage">&nbsp;&nbsp;&nbsp;&nbsp;- moveToPreviousPage</option>
	
	<option value="//api/name/page">&nbsp;&nbsp;&nbsp;&nbsp;- page</option>
	
	<option value="//api/name/reloadOverlay">&nbsp;&nbsp;&nbsp;&nbsp;- reloadOverlay</option>
	
	<option value="//api/name/removeDocumentDelegate:">&nbsp;&nbsp;&nbsp;&nbsp;- removeDocumentDelegate:</option>
	
	<option value="//api/name/removeOverlayViewDataSource:">&nbsp;&nbsp;&nbsp;&nbsp;- removeOverlayViewDataSource:</option>
	
	<option value="//api/name/rightPage">&nbsp;&nbsp;&nbsp;&nbsp;- rightPage</option>
	
	<option value="//api/name/setAutoMode:">&nbsp;&nbsp;&nbsp;&nbsp;- setAutoMode:</option>
	
	<option value="//api/name/setAutomodeOnRotation:">&nbsp;&nbsp;&nbsp;&nbsp;- setAutomodeOnRotation:</option>
	
	<option value="//api/name/setAutozoomOnPageChange:">&nbsp;&nbsp;&nbsp;&nbsp;- setAutozoomOnPageChange:</option>
	
	<option value="//api/name/setDirection:">&nbsp;&nbsp;&nbsp;&nbsp;- setDirection:</option>
	
	<option value="//api/name/setEdgeFlipWidth:">&nbsp;&nbsp;&nbsp;&nbsp;- setEdgeFlipWidth:</option>
	
	<option value="//api/name/setLead:">&nbsp;&nbsp;&nbsp;&nbsp;- setLead:</option>
	
	<option value="//api/name/setMaximumZoomScale:">&nbsp;&nbsp;&nbsp;&nbsp;- setMaximumZoomScale:</option>
	
	<option value="//api/name/setMode:">&nbsp;&nbsp;&nbsp;&nbsp;- setMode:</option>
	
	<option value="//api/name/setPage:">&nbsp;&nbsp;&nbsp;&nbsp;- setPage:</option>
	
	<option value="//api/name/setPage:withZoomOfLevel:onRect:">&nbsp;&nbsp;&nbsp;&nbsp;- setPage:withZoomOfLevel:onRect:</option>
	
	<option value="//api/name/setScrollEnabled:">&nbsp;&nbsp;&nbsp;&nbsp;- setScrollEnabled:</option>
	
	<option value="//api/name/zoomLevelForAnnotationRect:ofPage:">&nbsp;&nbsp;&nbsp;&nbsp;- zoomLevelForAnnotationRect:ofPage:</option>
	
	<option value="//api/name/zoomOffset">&nbsp;&nbsp;&nbsp;&nbsp;- zoomOffset</option>
	
	<option value="//api/name/zoomScale">&nbsp;&nbsp;&nbsp;&nbsp;- zoomScale</option>
	
	
	
</select>
				</li>
			</ul>
		</header>
		<nav id="tocContainer" class="isShowingTOC">
			<ul id="toc" role="tree">
				



<li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul>
	
</ul></li>





<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#properties">Properties</a></span><ul>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/defaultEdgeFlipWidth">defaultEdgeFlipWidth</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/defaultMaxZoomScale">defaultMaxZoomScale</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/directionalLockEnabled">directionalLockEnabled</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/documentDelegate">documentDelegate</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/documentInteractionEnabled">documentInteractionEnabled</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fpkAnnotationsEnabled">fpkAnnotationsEnabled</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/legacyModeEnabled">legacyModeEnabled</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/overlayEnabled">overlayEnabled</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/padding">padding</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/pageFlipOnEdgeTouchEnabled">pageFlipOnEdgeTouchEnabled</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/pagedScrollView">pagedScrollView</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/previewsCount">previewsCount</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/showHorizontalScroller">showHorizontalScroller</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/showShadow">showShadow</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/startingPage">startingPage</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/useTiledOverlayView">useTiledOverlayView</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/zoomInOnDoubleTapEnabled">zoomInOnDoubleTapEnabled</a></span></li>
	
</ul></li>





<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/addDocumentDelegate:">addDocumentDelegate:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/addOverlayDataSource:">addOverlayDataSource:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/addOverlayViewDataSource:">addOverlayViewDataSource:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/automodeOnRotation">automodeOnRotation</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/autozoomOnPageChange">autozoomOnPageChange</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/cleanUp">cleanUp</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/convertPoint:fromOverlayToPage:">convertPoint:fromOverlayToPage:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/convertPoint:fromViewtoPage:">convertPoint:fromViewtoPage:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/convertPoint:toOverlayFromPage:">convertPoint:toOverlayFromPage:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/convertPoint:toViewFromPage:">convertPoint:toViewFromPage:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/convertRect:fromOverlayToPage:">convertRect:fromOverlayToPage:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/convertRect:fromViewToPage:">convertRect:fromViewToPage:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/convertRect:toOverlayFromPage:">convertRect:toOverlayFromPage:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/convertRect:toViewFromPage:">convertRect:toViewFromPage:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/direction">direction</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/edgeFlipWidth">edgeFlipWidth</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/gesturesDisabled">gesturesDisabled</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/initWithDocumentManager:">initWithDocumentManager:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/lead">lead</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/leftPage">leftPage</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/mode">mode</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/moveToNextPage">moveToNextPage</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/moveToPreviousPage">moveToPreviousPage</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/page">page</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/reloadOverlay">reloadOverlay</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeDocumentDelegate:">removeDocumentDelegate:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeOverlayViewDataSource:">removeOverlayViewDataSource:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/rightPage">rightPage</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setAutoMode:">setAutoMode:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setAutomodeOnRotation:">setAutomodeOnRotation:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setAutozoomOnPageChange:">setAutozoomOnPageChange:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setDirection:">setDirection:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setEdgeFlipWidth:">setEdgeFlipWidth:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setLead:">setLead:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setMaximumZoomScale:">setMaximumZoomScale:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setMode:">setMode:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setPage:">setPage:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setPage:withZoomOfLevel:onRect:">setPage:withZoomOfLevel:onRect:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setScrollEnabled:">setScrollEnabled:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/zoomLevelForAnnotationRect:ofPage:">zoomLevelForAnnotationRect:ofPage:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/zoomOffset">zoomOffset</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/zoomScale">zoomScale</a></span></li>
	
</ul></li>


			</ul>
		</nav>
		<article>
			<div id="contents" class="isShowingTOC" role="main">
				<a title="MFDocumentViewController Class Reference" name="top"></a>
				<div class="main-navigation navigation-top">
					<ul>
	<li><a href="../index.html">Index</a></li>
	<li><a href="../hierarchy.html">Hierarchy</a></li>
</ul>
				</div>
				<div id="header">
					<div class="section-header">
						<h1 class="title title-header">MFDocumentViewController Class Reference</h1>
					</div>		
				</div>
				<div id="container">	
					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<td class="specification-title">Inherits from</td>
	<td class="specification-value">UIViewController</td>
</tr><tr>
	<td class="specification-title">Conforms to</td>
	<td class="specification-value">UIScrollViewDelegate</td>
</tr><tr>
	<td class="specification-title">Declared in</td>
	<td class="specification-value">MFDocumentViewController.h</td>
</tr>
						</tbody></table></div>
					
					
					
					
					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						<h2 class="subtitle subtitle-tasks">Tasks</h2>
						
						
						
						

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/documentDelegate">&nbsp;&nbsp;documentDelegate</a></code>
		<span class="tooltip"><p>This property let you add the main DocumentViewControllerDelegate.</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/addDocumentDelegate:">&ndash;&nbsp;addDocumentDelegate:</a></code>
		<span class="tooltip"><p>If you need to register objects as DocumentViewControllerDelegate you can add them using this method.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/removeDocumentDelegate:">&ndash;&nbsp;removeDocumentDelegate:</a></code>
		<span class="tooltip"><p>If you have more than one DocumentViewControllerDelegate you can remove any of them with this method.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/directionalLockEnabled">&nbsp;&nbsp;directionalLockEnabled</a></code>
		<span class="tooltip"><p>This property enable or disable the directional lock in the inner (document)
scroll view.
Default is NO.</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/useTiledOverlayView">&nbsp;&nbsp;useTiledOverlayView</a></code>
		<span class="tooltip"><p>This property will enable an CATiledLayer version of the overlay view. This
means overlay drawables will be drawn sharp, no matter the zoom of the scroll
view.</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/showHorizontalScroller">&nbsp;&nbsp;showHorizontalScroller</a></code>
		<span class="tooltip"><p>Use this property to hide or show the horizontal scroller under the pages.</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/showShadow">&nbsp;&nbsp;showShadow</a></code>
		<span class="tooltip"><p>Set this flag to NO if you don&rsquo;t want the dropdown shadow under the pages.
Default is YES.</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/padding">&nbsp;&nbsp;padding</a></code>
		<span class="tooltip"><p>Set the amount of minimum <a href="#//api/name/padding">padding</a> between the pages and the screen edge.
Default is 5.0. Values are clipped between 0 and 100.</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/addOverlayDataSource:">&ndash;&nbsp;addOverlayDataSource:</a></code>
		<span class="tooltip"><p>Add and remove an Overlay Datasource for Drawables and Touchables.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/fpkAnnotationsEnabled">&nbsp;&nbsp;fpkAnnotationsEnabled</a></code>
		<span class="tooltip"><p>Enable or disable FPK Annotations parsing at <a href="#//api/name/page">page</a> load. Set it to NO if you
don&rsquo;t use FPK Annotations and experience freezing while scrolling the pages.
Default is YES (enabled).</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/addOverlayViewDataSource:">&ndash;&nbsp;addOverlayViewDataSource:</a></code>
		<span class="tooltip"><p>Add an Overlay View Datasource for overlay UIViews.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/removeOverlayViewDataSource:">&ndash;&nbsp;removeOverlayViewDataSource:</a></code>
		<span class="tooltip"><p>Remove an Overlay View Datasource for overlay UIViews.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/reloadOverlay">&ndash;&nbsp;reloadOverlay</a></code>
		<span class="tooltip"><p>This method will provoke the redraw of the overlay. Overlay Datasources will be
asked to provide drawables.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/zoomLevelForAnnotationRect:ofPage:">&ndash;&nbsp;zoomLevelForAnnotationRect:ofPage:</a></code>
		<span class="tooltip"><p>This will return the appropriate zoom level to perfectly zoom onto an annotation.
If return 0, there&rsquo;s no available <a href="#//api/name/page">page</a> data to compute the zoom yet.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/zoomScale">&ndash;&nbsp;zoomScale</a></code>
		<span class="tooltip"><p>Return the zoom scale of the <a href="#//api/name/page">page</a> scroll view.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/zoomOffset">&ndash;&nbsp;zoomOffset</a></code>
		<span class="tooltip"><p>Return the offset of the <a href="#//api/name/page">page</a> scroll view.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/leftPage">&ndash;&nbsp;leftPage</a></code>
		<span class="tooltip"><p>This method will return the <a href="#//api/name/page">page</a> number of the left <a href="#//api/name/page">page</a> displayed. If the <a href="#//api/name/mode">mode</a>
is single <a href="#//api/name/page">page</a>, the left <a href="#//api/name/page">page</a> number is the current <a href="#//api/name/page">page</a>.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/rightPage">&ndash;&nbsp;rightPage</a></code>
		<span class="tooltip"><p>This method will return the <a href="#//api/name/page">page</a> number of the right <a href="#//api/name/page">page</a> displayed. If the <a href="#//api/name/mode">mode</a>
is single, right <a href="#//api/name/page">page</a> number is invalid.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/startingPage">&nbsp;&nbsp;startingPage</a></code>
		<span class="tooltip"><p>Set the starting <a href="#//api/name/page">page</a> of the document. It is valid only after initialization
and before the view is displayed on the screen. Tipically you want to set this
just after the init of the viewController.
Default is 1.</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/pageFlipOnEdgeTouchEnabled">&nbsp;&nbsp;pageFlipOnEdgeTouchEnabled</a></code>
		<span class="tooltip"><p>Enable the <a href="#//api/name/page">page</a> flip when the user touch the edges of the screen.</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/setEdgeFlipWidth:">&ndash;&nbsp;setEdgeFlipWidth:</a></code>
		<span class="tooltip"><p>Set and get the percentage of the screen associated with the <a href="#//api/name/page">page</a> flip on edge
touch action. Default value is 0.1, this mean that the 10% of the width of the
screen on either side will receive such events. Values are clipped between 0.0
and 0.5 to prevent overlap.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/edgeFlipWidth">&ndash;&nbsp;edgeFlipWidth</a></code>
		<span class="tooltip"><p>Get the edge flip width</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/defaultEdgeFlipWidth">&nbsp;&nbsp;defaultEdgeFlipWidth</a></code>
		<span class="tooltip"><p>Default value to wich the current value will be reset to after each <a href="#//api/name/page">page</a> change.
Default is 0.1.</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/zoomInOnDoubleTapEnabled">&nbsp;&nbsp;zoomInOnDoubleTapEnabled</a></code>
		<span class="tooltip"><p>Enabled the zoom in when the user double tap on the screen.</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/documentInteractionEnabled">&nbsp;&nbsp;documentInteractionEnabled</a></code>
		<span class="tooltip"><p>Enabled the document interaction.</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/overlayEnabled">&nbsp;&nbsp;overlayEnabled</a></code>
		<span class="tooltip"><p>Enable or disable the display of overlay item over the document.
Default is disabled.</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/legacyModeEnabled">&nbsp;&nbsp;legacyModeEnabled</a></code>
		<span class="tooltip"><p>Enabled or force the legacy <a href="#//api/name/mode">mode</a>, or let the app choose to enable it or not
depending on the device. Default is disabled.</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/defaultMaxZoomScale">&nbsp;&nbsp;defaultMaxZoomScale</a></code>
		<span class="tooltip"><p>This is the default maximum magnification the pdf will zoom.</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/initWithDocumentManager:">&ndash;&nbsp;initWithDocumentManager:</a></code>
		<span class="tooltip"><p>Call this method to start working with the pdf.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/automodeOnRotation">&ndash;&nbsp;automodeOnRotation</a></code>
		<span class="tooltip"><p>This metod enable or disable the automatic <a href="#//api/name/mode">mode</a> switching upon rotation. If
enabled, the <a href="#//api/name/page">page</a> <a href="#//api/name/mode">mode</a> will be automatically changed to single <a href="#//api/name/page">page</a> in portrait
and side-by-side (double) on landscape. Setting the <a href="#//api/name/mode">mode</a> manually will disable
the auto<a href="#//api/name/mode">mode</a>.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/setAutomodeOnRotation:">&ndash;&nbsp;setAutomodeOnRotation:</a></code>
		<span class="tooltip"><p>Returns whether auto<a href="#//api/name/mode">mode</a> is enabled or not.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/setMode:">&ndash;&nbsp;setMode:</a></code>
		<span class="tooltip"><p>Set how the pages are presented to the user. MFDocumentModeSingle present a
single <a href="#//api/name/page">page</a> to the user, centered on the screen. MFDocumentModeDouble present
two pages side-by-side, as they would appear on a magazine or a books. This
will allow to preserve content split between the pages, for example a large
background image.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/setAutoMode:">&ndash;&nbsp;setAutoMode:</a></code>
		<span class="tooltip"><p>Set the <a href="#//api/name/mode">mode</a> to which the document will automatically switch to upon rotation.
Pass MFDocumentAutoModeX values and not MFDocumentModeX values, since it is not
guaranteed to be the same.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/mode">&ndash;&nbsp;mode</a></code>
		<span class="tooltip"><p>Returns the current <a href="#//api/name/mode">mode</a> used to display the document.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/setPage:">&ndash;&nbsp;setPage:</a></code>
		<span class="tooltip"><p>This metod will set the current <a href="#//api/name/page">page</a> of the document and jump to the specified
<a href="#//api/name/page">page</a>. Current <a href="#//api/name/page">page</a> is used to determine bookmarks position. On side-by-side
(double) <a href="#//api/name/mode">mode</a>, it is usually the left-most <a href="#//api/name/page">page</a> of the two.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/setPage:withZoomOfLevel:onRect:">&ndash;&nbsp;setPage:withZoomOfLevel:onRect:</a></code>
		<span class="tooltip"><p>This metod will set the current <a href="#//api/name/page">page</a> of the document and jump to the specified
<a href="#//api/name/page">page</a>, while trying to zoom in on the specified rect. Pass 0.0 as zoomLevel to
let the application try to calculate the appropriate zoom level to fit the
rectangle on screen.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/page">&ndash;&nbsp;page</a></code>
		<span class="tooltip"><p>Returns the current <a href="#//api/name/page">page</a> of the document.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/setLead:">&ndash;&nbsp;setLead:</a></code>
		<span class="tooltip"><p>This method set the <a href="#//api/name/lead">lead</a> used to show the pages in side-by-side (double) <a href="#//api/name/mode">mode</a>.
With MFDocumentLeadLeft, the cover will appear on the left side in side-by-side
<a href="#//api/name/mode">mode</a>, whereas with MFDocumentLeadRight will appear on the right side. Use this
method to keep pairing between pages for books and magazines. Single <a href="#//api/name/page">page</a> <a href="#//api/name/mode">mode</a>
is not affected by this setting.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/lead">&ndash;&nbsp;lead</a></code>
		<span class="tooltip"><p>Returns the current <a href="#//api/name/lead">lead</a> used when presenting the document.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/setDirection:">&ndash;&nbsp;setDirection:</a></code>
		<span class="tooltip"><p>This method is used to set the <a href="#//api/name/page">page</a> reading direction: left to right or right
to left.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/direction">&ndash;&nbsp;direction</a></code>
		<span class="tooltip"><p>Return the current <a href="#//api/name/direction">direction</a> used by the document.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/setAutozoomOnPageChange:">&ndash;&nbsp;setAutozoomOnPageChange:</a></code>
		<span class="tooltip"><p>This method will turn on or off the autozoom feature. If on, the current zoom
level will be kept between pages, otherwise will be rest to 100% on <a href="#//api/name/page">page</a>
change.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/autozoomOnPageChange">&ndash;&nbsp;autozoomOnPageChange</a></code>
		<span class="tooltip"><p>Returns whether the autozoom feature is enabled or not.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/moveToNextPage">&ndash;&nbsp;moveToNextPage</a></code>
		<span class="tooltip"><p>This method will begin an animated transition to the next <a href="#//api/name/page">page</a>, if available.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/moveToPreviousPage">&ndash;&nbsp;moveToPreviousPage</a></code>
		<span class="tooltip"><p>This method will begin an animated transition to the previous <a href="#//api/name/page">page</a>, if
available.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/cleanUp">&ndash;&nbsp;cleanUp</a></code>
		<span class="tooltip"><p>Call this method rightly after dismissing this <a href="MFDocumentViewController.html">MFDocumentViewController</a>
instance. It will release all the resources and stop the background threads.
Once this method has been called, the <a href="MFDocumentViewController.html">MFDocumentViewController</a> instance cannot
be considered valid anymore and should be released.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/convertPoint:fromViewtoPage:">&ndash;&nbsp;convertPoint:fromViewtoPage:</a></code>
		<span class="tooltip"><p>Convert a point from MFDocumentViewController&rsquo;s view space to <a href="#//api/name/page">page</a> space.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/convertPoint:toViewFromPage:">&ndash;&nbsp;convertPoint:toViewFromPage:</a></code>
		<span class="tooltip"><p>Convert a point from <a href="#//api/name/page">page</a> space to MFDocumentViewController&rsquo;s view space.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/convertRect:fromViewToPage:">&ndash;&nbsp;convertRect:fromViewToPage:</a></code>
		<span class="tooltip"><p>Convert a rect from MFDocumentViewController&rsquo;s view space to <a href="#//api/name/page">page</a> space.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/convertRect:toViewFromPage:">&ndash;&nbsp;convertRect:toViewFromPage:</a></code>
		<span class="tooltip"><p>Convert a rect from <a href="#//api/name/page">page</a> space to MFDocumentViewController&rsquo;s view space.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/convertPoint:fromOverlayToPage:">&ndash;&nbsp;convertPoint:fromOverlayToPage:</a></code>
		<span class="tooltip"><p>Convert a point from overlay space (the whole view that hold the both left and
right <a href="#//api/name/page">page</a>, and that you can zoom in and scroll over) to <a href="#//api/name/page">page</a> space.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/convertPoint:toOverlayFromPage:">&ndash;&nbsp;convertPoint:toOverlayFromPage:</a></code>
		<span class="tooltip"><p>Convert a point from <a href="#//api/name/page">page</a> space to overlay space.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/convertRect:fromOverlayToPage:">&ndash;&nbsp;convertRect:fromOverlayToPage:</a></code>
		<span class="tooltip"><p>Convert a rect from overlay space to <a href="#//api/name/page">page</a> space.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/convertRect:toOverlayFromPage:">&ndash;&nbsp;convertRect:toOverlayFromPage:</a></code>
		<span class="tooltip"><p>Convert a ract from <a href="#//api/name/page">page</a> to overlay space.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/gesturesDisabled">&ndash;&nbsp;gesturesDisabled</a></code>
		<span class="tooltip"><p>Override in your subclass to toggle gesture recognizer on overlay views on and
off.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/setScrollEnabled:">&ndash;&nbsp;setScrollEnabled:</a></code>
		<span class="tooltip"><p>Set the paged scroll enabled or not. Useful to lock the user in the current
<a href="#//api/name/page">page</a> during animations.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/setMaximumZoomScale:">&ndash;&nbsp;setMaximumZoomScale:</a></code>
		<span class="tooltip"><p>Set the maximum zoom scale for the pdf <a href="#//api/name/page">page</a>.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/previewsCount">&nbsp;&nbsp;previewsCount</a></code>
		<span class="tooltip"><p>Set the max number of preview images to use at any time. Call this before
presenting the <a href="MFDocumentViewController.html">MFDocumentViewController</a> subclass. Default is 4, sweet spot is
3-4 and you should not exceed this number unless your target device are iPhone4
iPad2 or newer devices and/or your PDF are scarce of images.</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/pagedScrollView">&nbsp;&nbsp;pagedScrollView</a></code>
		<span class="tooltip"><p>Access the inner paged scroll view.</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li>
						</ul>
						
					</div>
					
					
					
					
					
					<div class="section section-methods">
						<a title="Properties" name="properties"></a>
						<h2 class="subtitle subtitle-methods">Properties</h2>
						
						<div class="section-method">
	<a name="//api/name/defaultEdgeFlipWidth" title="defaultEdgeFlipWidth"></a>
	<h3 class="subsubtitle method-title">defaultEdgeFlipWidth</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Default value to wich the current value will be reset to after each <a href="#//api/name/page">page</a> change.
Default is 0.1.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite) CGFloat defaultEdgeFlipWidth</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Default value to wich the current value will be reset to after each <a href="#//api/name/page">page</a> change.
Default is 0.1.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/defaultMaxZoomScale" title="defaultMaxZoomScale"></a>
	<h3 class="subsubtitle method-title">defaultMaxZoomScale</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>This is the default maximum magnification the pdf will zoom.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite) float defaultMaxZoomScale</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>This is the default maximum magnification the pdf will zoom.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/directionalLockEnabled" title="directionalLockEnabled"></a>
	<h3 class="subsubtitle method-title">directionalLockEnabled</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>This property enable or disable the directional lock in the inner (document)
scroll view.
Default is NO.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite, getter=isDirectionLockEnabled) BOOL directionalLockEnabled</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>This property enable or disable the directional lock in the inner (document)
scroll view.
Default is NO.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/documentDelegate" title="documentDelegate"></a>
	<h3 class="subsubtitle method-title">documentDelegate</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>This property let you add the main DocumentViewControllerDelegate.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>@property (assign) NSObject&lt;MFDocumentViewControllerDelegate&gt; *documentDelegate</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>This property let you add the main DocumentViewControllerDelegate.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/documentInteractionEnabled" title="documentInteractionEnabled"></a>
	<h3 class="subsubtitle method-title">documentInteractionEnabled</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Enabled the document interaction.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>@property (assign, readwrite, getter=isDocumentInteractionEnabled) BOOL documentInteractionEnabled</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Enabled the document interaction.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/fpkAnnotationsEnabled" title="fpkAnnotationsEnabled"></a>
	<h3 class="subsubtitle method-title">fpkAnnotationsEnabled</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Enable or disable FPK Annotations parsing at <a href="#//api/name/page">page</a> load. Set it to NO if you
don&rsquo;t use FPK Annotations and experience freezing while scrolling the pages.
Default is YES (enabled).</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite) BOOL fpkAnnotationsEnabled</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Enable or disable FPK Annotations parsing at <a href="#//api/name/page">page</a> load. Set it to NO if you
don&rsquo;t use FPK Annotations and experience freezing while scrolling the pages.
Default is YES (enabled).</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/legacyModeEnabled" title="legacyModeEnabled"></a>
	<h3 class="subsubtitle method-title">legacyModeEnabled</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Enabled or force the legacy <a href="#//api/name/mode">mode</a>, or let the app choose to enable it or not
depending on the device. Default is disabled.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>@property (readwrite) BOOL legacyModeEnabled</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Enabled or force the legacy <a href="#//api/name/mode">mode</a>, or let the app choose to enable it or not
depending on the device. Default is disabled.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/overlayEnabled" title="overlayEnabled"></a>
	<h3 class="subsubtitle method-title">overlayEnabled</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Enable or disable the display of overlay item over the document.
Default is disabled.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>@property (readwrite) BOOL overlayEnabled</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Enable or disable the display of overlay item over the document.
Default is disabled.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/padding" title="padding"></a>
	<h3 class="subsubtitle method-title">padding</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Set the amount of minimum <a href="#//api/name/padding">padding</a> between the pages and the screen edge.
Default is 5.0. Values are clipped between 0 and 100.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite) CGFloat padding</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Set the amount of minimum <a href="#//api/name/padding">padding</a> between the pages and the screen edge.
Default is 5.0. Values are clipped between 0 and 100.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/pageFlipOnEdgeTouchEnabled" title="pageFlipOnEdgeTouchEnabled"></a>
	<h3 class="subsubtitle method-title">pageFlipOnEdgeTouchEnabled</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Enable the <a href="#//api/name/page">page</a> flip when the user touch the edges of the screen.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>@property (assign, readwrite, getter=isPageFlipOnEdgeTouchEnabled) BOOL pageFlipOnEdgeTouchEnabled</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Enable the <a href="#//api/name/page">page</a> flip when the user touch the edges of the screen.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/pagedScrollView" title="pagedScrollView"></a>
	<h3 class="subsubtitle method-title">pagedScrollView</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Access the inner paged scroll view.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>@property (readonly) UIScrollView *pagedScrollView</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Access the inner paged scroll view.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/previewsCount" title="previewsCount"></a>
	<h3 class="subsubtitle method-title">previewsCount</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Set the max number of preview images to use at any time. Call this before
presenting the <a href="MFDocumentViewController.html">MFDocumentViewController</a> subclass. Default is 4, sweet spot is
3-4 and you should not exceed this number unless your target device are iPhone4
iPad2 or newer devices and/or your PDF are scarce of images.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite) NSUInteger previewsCount</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Set the max number of preview images to use at any time. Call this before
presenting the <a href="MFDocumentViewController.html">MFDocumentViewController</a> subclass. Default is 4, sweet spot is
3-4 and you should not exceed this number unless your target device are iPhone4
iPad2 or newer devices and/or your PDF are scarce of images.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/showHorizontalScroller" title="showHorizontalScroller"></a>
	<h3 class="subsubtitle method-title">showHorizontalScroller</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Use this property to hide or show the horizontal scroller under the pages.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite) BOOL showHorizontalScroller</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Use this property to hide or show the horizontal scroller under the pages.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/showShadow" title="showShadow"></a>
	<h3 class="subsubtitle method-title">showShadow</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Set this flag to NO if you don&rsquo;t want the dropdown shadow under the pages.
Default is YES.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite) BOOL showShadow</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Set this flag to NO if you don&rsquo;t want the dropdown shadow under the pages.
Default is YES.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/startingPage" title="startingPage"></a>
	<h3 class="subsubtitle method-title">startingPage</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Set the starting <a href="#//api/name/page">page</a> of the document. It is valid only after initialization
and before the view is displayed on the screen. Tipically you want to set this
just after the init of the viewController.
Default is 1.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite) NSUInteger startingPage</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Set the starting <a href="#//api/name/page">page</a> of the document. It is valid only after initialization
and before the view is displayed on the screen. Tipically you want to set this
just after the init of the viewController.
Default is 1.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/useTiledOverlayView" title="useTiledOverlayView"></a>
	<h3 class="subsubtitle method-title">useTiledOverlayView</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>This property will enable an CATiledLayer version of the overlay view. This
means overlay drawables will be drawn sharp, no matter the zoom of the scroll
view.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>@property (readwrite) BOOL useTiledOverlayView</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>This property will enable an CATiledLayer version of the overlay view. This
means overlay drawables will be drawn sharp, no matter the zoom of the scroll
view.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/zoomInOnDoubleTapEnabled" title="zoomInOnDoubleTapEnabled"></a>
	<h3 class="subsubtitle method-title">zoomInOnDoubleTapEnabled</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Enabled the zoom in when the user double tap on the screen.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>@property (assign, readwrite, getter=isZoomInOnDoubleTapEnabled) BOOL zoomInOnDoubleTapEnabled</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Enabled the zoom in when the user double tap on the screen.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
					</div>
					
					
					
					
					
					<div class="section section-methods">
						<a title="Instance Methods" name="instance_methods"></a>
						<h2 class="subtitle subtitle-methods">Instance Methods</h2>
						
						<div class="section-method">
	<a name="//api/name/addDocumentDelegate:" title="addDocumentDelegate:"></a>
	<h3 class="subsubtitle method-title">addDocumentDelegate:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>If you need to register objects as DocumentViewControllerDelegate you can add them using this method.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)addDocumentDelegate:(NSObject&lt;MFDocumentViewControllerDelegate&gt; *)<em>delegate</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>If you need to register objects as DocumentViewControllerDelegate you can add them using this method.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/addOverlayDataSource:" title="addOverlayDataSource:"></a>
	<h3 class="subsubtitle method-title">addOverlayDataSource:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Add and remove an Overlay Datasource for Drawables and Touchables.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)addOverlayDataSource:(id&lt;MFDocumentOverlayDataSource&gt;)<em>ods</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Add and remove an Overlay Datasource for Drawables and Touchables.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/addOverlayViewDataSource:" title="addOverlayViewDataSource:"></a>
	<h3 class="subsubtitle method-title">addOverlayViewDataSource:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Add an Overlay View Datasource for overlay UIViews.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)addOverlayViewDataSource:(id&lt;FPKOverlayViewDataSource&gt;)<em>ovds</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Add an Overlay View Datasource for overlay UIViews.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/automodeOnRotation" title="automodeOnRotation"></a>
	<h3 class="subsubtitle method-title">automodeOnRotation</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>This metod enable or disable the automatic <a href="#//api/name/mode">mode</a> switching upon rotation. If
enabled, the <a href="#//api/name/page">page</a> <a href="#//api/name/mode">mode</a> will be automatically changed to single <a href="#//api/name/page">page</a> in portrait
and side-by-side (double) on landscape. Setting the <a href="#//api/name/mode">mode</a> manually will disable
the auto<a href="#//api/name/mode">mode</a>.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (BOOL)automodeOnRotation</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>This metod enable or disable the automatic <a href="#//api/name/mode">mode</a> switching upon rotation. If
enabled, the <a href="#//api/name/page">page</a> <a href="#//api/name/mode">mode</a> will be automatically changed to single <a href="#//api/name/page">page</a> in portrait
and side-by-side (double) on landscape. Setting the <a href="#//api/name/mode">mode</a> manually will disable
the auto<a href="#//api/name/mode">mode</a>.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/autozoomOnPageChange" title="autozoomOnPageChange"></a>
	<h3 class="subsubtitle method-title">autozoomOnPageChange</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Returns whether the autozoom feature is enabled or not.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (BOOL)autozoomOnPageChange</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Returns whether the autozoom feature is enabled or not.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/cleanUp" title="cleanUp"></a>
	<h3 class="subsubtitle method-title">cleanUp</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Call this method rightly after dismissing this <a href="MFDocumentViewController.html">MFDocumentViewController</a>
instance. It will release all the resources and stop the background threads.
Once this method has been called, the <a href="MFDocumentViewController.html">MFDocumentViewController</a> instance cannot
be considered valid anymore and should be released.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)cleanUp</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Call this method rightly after dismissing this <a href="MFDocumentViewController.html">MFDocumentViewController</a>
instance. It will release all the resources and stop the background threads.
Once this method has been called, the <a href="MFDocumentViewController.html">MFDocumentViewController</a> instance cannot
be considered valid anymore and should be released.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/convertPoint:fromOverlayToPage:" title="convertPoint:fromOverlayToPage:"></a>
	<h3 class="subsubtitle method-title">convertPoint:fromOverlayToPage:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Convert a point from overlay space (the whole view that hold the both left and
right <a href="#//api/name/page">page</a>, and that you can zoom in and scroll over) to <a href="#//api/name/page">page</a> space.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (CGPoint)convertPoint:(CGPoint)<em>point</em> fromOverlayToPage:(NSUInteger)<em>page</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Convert a point from overlay space (the whole view that hold the both left and
right <a href="#//api/name/page">page</a>, and that you can zoom in and scroll over) to <a href="#//api/name/page">page</a> space.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/convertPoint:fromViewtoPage:" title="convertPoint:fromViewtoPage:"></a>
	<h3 class="subsubtitle method-title">convertPoint:fromViewtoPage:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Convert a point from MFDocumentViewController&rsquo;s view space to <a href="#//api/name/page">page</a> space.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (CGPoint)convertPoint:(CGPoint)<em>point</em> fromViewtoPage:(NSUInteger)<em>page</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Convert a point from MFDocumentViewController&rsquo;s view space to <a href="#//api/name/page">page</a> space.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/convertPoint:toOverlayFromPage:" title="convertPoint:toOverlayFromPage:"></a>
	<h3 class="subsubtitle method-title">convertPoint:toOverlayFromPage:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Convert a point from <a href="#//api/name/page">page</a> space to overlay space.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (CGPoint)convertPoint:(CGPoint)<em>point</em> toOverlayFromPage:(NSUInteger)<em>page</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Convert a point from <a href="#//api/name/page">page</a> space to overlay space.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/convertPoint:toViewFromPage:" title="convertPoint:toViewFromPage:"></a>
	<h3 class="subsubtitle method-title">convertPoint:toViewFromPage:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Convert a point from <a href="#//api/name/page">page</a> space to MFDocumentViewController&rsquo;s view space.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (CGPoint)convertPoint:(CGPoint)<em>point</em> toViewFromPage:(NSUInteger)<em>page</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Convert a point from <a href="#//api/name/page">page</a> space to MFDocumentViewController&rsquo;s view space.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/convertRect:fromOverlayToPage:" title="convertRect:fromOverlayToPage:"></a>
	<h3 class="subsubtitle method-title">convertRect:fromOverlayToPage:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Convert a rect from overlay space to <a href="#//api/name/page">page</a> space.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (CGRect)convertRect:(CGRect)<em>rect</em> fromOverlayToPage:(NSUInteger)<em>page</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Convert a rect from overlay space to <a href="#//api/name/page">page</a> space.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/convertRect:fromViewToPage:" title="convertRect:fromViewToPage:"></a>
	<h3 class="subsubtitle method-title">convertRect:fromViewToPage:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Convert a rect from MFDocumentViewController&rsquo;s view space to <a href="#//api/name/page">page</a> space.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (CGRect)convertRect:(CGRect)<em>rect</em> fromViewToPage:(NSUInteger)<em>page</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Convert a rect from MFDocumentViewController&rsquo;s view space to <a href="#//api/name/page">page</a> space.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/convertRect:toOverlayFromPage:" title="convertRect:toOverlayFromPage:"></a>
	<h3 class="subsubtitle method-title">convertRect:toOverlayFromPage:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Convert a ract from <a href="#//api/name/page">page</a> to overlay space.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (CGRect)convertRect:(CGRect)<em>rect</em> toOverlayFromPage:(NSUInteger)<em>page</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Convert a ract from <a href="#//api/name/page">page</a> to overlay space.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/convertRect:toViewFromPage:" title="convertRect:toViewFromPage:"></a>
	<h3 class="subsubtitle method-title">convertRect:toViewFromPage:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Convert a rect from <a href="#//api/name/page">page</a> space to MFDocumentViewController&rsquo;s view space.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (CGRect)convertRect:(CGRect)<em>rect</em> toViewFromPage:(NSUInteger)<em>page</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Convert a rect from <a href="#//api/name/page">page</a> space to MFDocumentViewController&rsquo;s view space.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/direction" title="direction"></a>
	<h3 class="subsubtitle method-title">direction</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Return the current <a href="#//api/name/direction">direction</a> used by the document.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (MFDocumentDirection)direction</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Return the current <a href="#//api/name/direction">direction</a> used by the document.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/edgeFlipWidth" title="edgeFlipWidth"></a>
	<h3 class="subsubtitle method-title">edgeFlipWidth</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Get the edge flip width</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (CGFloat)edgeFlipWidth</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Get the edge flip width</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/gesturesDisabled" title="gesturesDisabled"></a>
	<h3 class="subsubtitle method-title">gesturesDisabled</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Override in your subclass to toggle gesture recognizer on overlay views on and
off.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (BOOL)gesturesDisabled</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Override in your subclass to toggle gesture recognizer on overlay views on and
off.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/initWithDocumentManager:" title="initWithDocumentManager:"></a>
	<h3 class="subsubtitle method-title">initWithDocumentManager:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Call this method to start working with the pdf.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (id)initWithDocumentManager:(MFDocumentManager *)<em>aDocumentManager</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Call this method to start working with the pdf.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/lead" title="lead"></a>
	<h3 class="subsubtitle method-title">lead</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Returns the current <a href="#//api/name/lead">lead</a> used when presenting the document.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (MFDocumentLead)lead</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Returns the current <a href="#//api/name/lead">lead</a> used when presenting the document.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/leftPage" title="leftPage"></a>
	<h3 class="subsubtitle method-title">leftPage</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>This method will return the <a href="#//api/name/page">page</a> number of the left <a href="#//api/name/page">page</a> displayed. If the <a href="#//api/name/mode">mode</a>
is single <a href="#//api/name/page">page</a>, the left <a href="#//api/name/page">page</a> number is the current <a href="#//api/name/page">page</a>.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (NSUInteger)leftPage</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>This method will return the <a href="#//api/name/page">page</a> number of the left <a href="#//api/name/page">page</a> displayed. If the <a href="#//api/name/mode">mode</a>
is single <a href="#//api/name/page">page</a>, the left <a href="#//api/name/page">page</a> number is the current <a href="#//api/name/page">page</a>.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/mode" title="mode"></a>
	<h3 class="subsubtitle method-title">mode</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Returns the current <a href="#//api/name/mode">mode</a> used to display the document.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (MFDocumentMode)mode</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Returns the current <a href="#//api/name/mode">mode</a> used to display the document.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/moveToNextPage" title="moveToNextPage"></a>
	<h3 class="subsubtitle method-title">moveToNextPage</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>This method will begin an animated transition to the next <a href="#//api/name/page">page</a>, if available.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)moveToNextPage</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>This method will begin an animated transition to the next <a href="#//api/name/page">page</a>, if available.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/moveToPreviousPage" title="moveToPreviousPage"></a>
	<h3 class="subsubtitle method-title">moveToPreviousPage</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>This method will begin an animated transition to the previous <a href="#//api/name/page">page</a>, if
available.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)moveToPreviousPage</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>This method will begin an animated transition to the previous <a href="#//api/name/page">page</a>, if
available.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/page" title="page"></a>
	<h3 class="subsubtitle method-title">page</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Returns the current <a href="#//api/name/page">page</a> of the document.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (NSUInteger)page</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Returns the current <a href="#//api/name/page">page</a> of the document.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/reloadOverlay" title="reloadOverlay"></a>
	<h3 class="subsubtitle method-title">reloadOverlay</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>This method will provoke the redraw of the overlay. Overlay Datasources will be
asked to provide drawables.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)reloadOverlay</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>This method will provoke the redraw of the overlay. Overlay Datasources will be
asked to provide drawables.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/removeDocumentDelegate:" title="removeDocumentDelegate:"></a>
	<h3 class="subsubtitle method-title">removeDocumentDelegate:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>If you have more than one DocumentViewControllerDelegate you can remove any of them with this method.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)removeDocumentDelegate:(NSObject&lt;MFDocumentViewControllerDelegate&gt; *)<em>delegate</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>If you have more than one DocumentViewControllerDelegate you can remove any of them with this method.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/removeOverlayViewDataSource:" title="removeOverlayViewDataSource:"></a>
	<h3 class="subsubtitle method-title">removeOverlayViewDataSource:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Remove an Overlay View Datasource for overlay UIViews.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)removeOverlayViewDataSource:(id&lt;FPKOverlayViewDataSource&gt;)<em>ovds</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Remove an Overlay View Datasource for overlay UIViews.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/rightPage" title="rightPage"></a>
	<h3 class="subsubtitle method-title">rightPage</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>This method will return the <a href="#//api/name/page">page</a> number of the right <a href="#//api/name/page">page</a> displayed. If the <a href="#//api/name/mode">mode</a>
is single, right <a href="#//api/name/page">page</a> number is invalid.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (NSUInteger)rightPage</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>This method will return the <a href="#//api/name/page">page</a> number of the right <a href="#//api/name/page">page</a> displayed. If the <a href="#//api/name/mode">mode</a>
is single, right <a href="#//api/name/page">page</a> number is invalid.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/setAutoMode:" title="setAutoMode:"></a>
	<h3 class="subsubtitle method-title">setAutoMode:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Set the <a href="#//api/name/mode">mode</a> to which the document will automatically switch to upon rotation.
Pass MFDocumentAutoModeX values and not MFDocumentModeX values, since it is not
guaranteed to be the same.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)setAutoMode:(MFDocumentAutoMode)<em>newAutoMode</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Set the <a href="#//api/name/mode">mode</a> to which the document will automatically switch to upon rotation.
Pass MFDocumentAutoModeX values and not MFDocumentModeX values, since it is not
guaranteed to be the same.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/setAutomodeOnRotation:" title="setAutomodeOnRotation:"></a>
	<h3 class="subsubtitle method-title">setAutomodeOnRotation:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Returns whether auto<a href="#//api/name/mode">mode</a> is enabled or not.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)setAutomodeOnRotation:(BOOL)<em>automode</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Returns whether auto<a href="#//api/name/mode">mode</a> is enabled or not.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/setAutozoomOnPageChange:" title="setAutozoomOnPageChange:"></a>
	<h3 class="subsubtitle method-title">setAutozoomOnPageChange:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>This method will turn on or off the autozoom feature. If on, the current zoom
level will be kept between pages, otherwise will be rest to 100% on <a href="#//api/name/page">page</a>
change.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)setAutozoomOnPageChange:(BOOL)<em>autozoom</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>This method will turn on or off the autozoom feature. If on, the current zoom
level will be kept between pages, otherwise will be rest to 100% on <a href="#//api/name/page">page</a>
change.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/setDirection:" title="setDirection:"></a>
	<h3 class="subsubtitle method-title">setDirection:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>This method is used to set the <a href="#//api/name/page">page</a> reading direction: left to right or right
to left.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)setDirection:(MFDocumentDirection)<em>newDirection</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>This method is used to set the <a href="#//api/name/page">page</a> reading direction: left to right or right
to left.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/setEdgeFlipWidth:" title="setEdgeFlipWidth:"></a>
	<h3 class="subsubtitle method-title">setEdgeFlipWidth:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Set and get the percentage of the screen associated with the <a href="#//api/name/page">page</a> flip on edge
touch action. Default value is 0.1, this mean that the 10% of the width of the
screen on either side will receive such events. Values are clipped between 0.0
and 0.5 to prevent overlap.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)setEdgeFlipWidth:(CGFloat)<em>edgeFlipWidth</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Set and get the percentage of the screen associated with the <a href="#//api/name/page">page</a> flip on edge
touch action. Default value is 0.1, this mean that the 10% of the width of the
screen on either side will receive such events. Values are clipped between 0.0
and 0.5 to prevent overlap.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/setLead:" title="setLead:"></a>
	<h3 class="subsubtitle method-title">setLead:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>This method set the <a href="#//api/name/lead">lead</a> used to show the pages in side-by-side (double) <a href="#//api/name/mode">mode</a>.
With MFDocumentLeadLeft, the cover will appear on the left side in side-by-side
<a href="#//api/name/mode">mode</a>, whereas with MFDocumentLeadRight will appear on the right side. Use this
method to keep pairing between pages for books and magazines. Single <a href="#//api/name/page">page</a> <a href="#//api/name/mode">mode</a>
is not affected by this setting.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)setLead:(MFDocumentLead)<em>newLead</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>This method set the <a href="#//api/name/lead">lead</a> used to show the pages in side-by-side (double) <a href="#//api/name/mode">mode</a>.
With MFDocumentLeadLeft, the cover will appear on the left side in side-by-side
<a href="#//api/name/mode">mode</a>, whereas with MFDocumentLeadRight will appear on the right side. Use this
method to keep pairing between pages for books and magazines. Single <a href="#//api/name/page">page</a> <a href="#//api/name/mode">mode</a>
is not affected by this setting.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/setMaximumZoomScale:" title="setMaximumZoomScale:"></a>
	<h3 class="subsubtitle method-title">setMaximumZoomScale:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Set the maximum zoom scale for the pdf <a href="#//api/name/page">page</a>.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)setMaximumZoomScale:(NSNumber *)<em>scale</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Set the maximum zoom scale for the pdf <a href="#//api/name/page">page</a>.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/setMode:" title="setMode:"></a>
	<h3 class="subsubtitle method-title">setMode:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Set how the pages are presented to the user. MFDocumentModeSingle present a
single <a href="#//api/name/page">page</a> to the user, centered on the screen. MFDocumentModeDouble present
two pages side-by-side, as they would appear on a magazine or a books. This
will allow to preserve content split between the pages, for example a large
background image.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)setMode:(MFDocumentMode)<em>newMode</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Set how the pages are presented to the user. MFDocumentModeSingle present a
single <a href="#//api/name/page">page</a> to the user, centered on the screen. MFDocumentModeDouble present
two pages side-by-side, as they would appear on a magazine or a books. This
will allow to preserve content split between the pages, for example a large
background image.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/setPage:" title="setPage:"></a>
	<h3 class="subsubtitle method-title">setPage:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>This metod will set the current <a href="#//api/name/page">page</a> of the document and jump to the specified
<a href="#//api/name/page">page</a>. Current <a href="#//api/name/page">page</a> is used to determine bookmarks position. On side-by-side
(double) <a href="#//api/name/mode">mode</a>, it is usually the left-most <a href="#//api/name/page">page</a> of the two.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)setPage:(NSUInteger)<em>page</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>This metod will set the current <a href="#//api/name/page">page</a> of the document and jump to the specified
<a href="#//api/name/page">page</a>. Current <a href="#//api/name/page">page</a> is used to determine bookmarks position. On side-by-side
(double) <a href="#//api/name/mode">mode</a>, it is usually the left-most <a href="#//api/name/page">page</a> of the two.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/setPage:withZoomOfLevel:onRect:" title="setPage:withZoomOfLevel:onRect:"></a>
	<h3 class="subsubtitle method-title">setPage:withZoomOfLevel:onRect:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>This metod will set the current <a href="#//api/name/page">page</a> of the document and jump to the specified
<a href="#//api/name/page">page</a>, while trying to zoom in on the specified rect. Pass 0.0 as zoomLevel to
let the application try to calculate the appropriate zoom level to fit the
rectangle on screen.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)setPage:(NSUInteger)<em>page</em> withZoomOfLevel:(float)<em>zoomLevel</em> onRect:(CGRect)<em>rect</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>This metod will set the current <a href="#//api/name/page">page</a> of the document and jump to the specified
<a href="#//api/name/page">page</a>, while trying to zoom in on the specified rect. Pass 0.0 as zoomLevel to
let the application try to calculate the appropriate zoom level to fit the
rectangle on screen.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/setScrollEnabled:" title="setScrollEnabled:"></a>
	<h3 class="subsubtitle method-title">setScrollEnabled:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Set the paged scroll enabled or not. Useful to lock the user in the current
<a href="#//api/name/page">page</a> during animations.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)setScrollEnabled:(BOOL)<em>lock</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Set the paged scroll enabled or not. Useful to lock the user in the current
<a href="#//api/name/page">page</a> during animations.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/zoomLevelForAnnotationRect:ofPage:" title="zoomLevelForAnnotationRect:ofPage:"></a>
	<h3 class="subsubtitle method-title">zoomLevelForAnnotationRect:ofPage:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>This will return the appropriate zoom level to perfectly zoom onto an annotation.
If return 0, there&rsquo;s no available <a href="#//api/name/page">page</a> data to compute the zoom yet.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (float)zoomLevelForAnnotationRect:(CGRect)<em>rect</em> ofPage:(NSUInteger)<em>page</em></code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>This will return the appropriate zoom level to perfectly zoom onto an annotation.
If return 0, there&rsquo;s no available <a href="#//api/name/page">page</a> data to compute the zoom yet.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/zoomOffset" title="zoomOffset"></a>
	<h3 class="subsubtitle method-title">zoomOffset</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Return the offset of the <a href="#//api/name/page">page</a> scroll view.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (CGPoint)zoomOffset</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Return the offset of the <a href="#//api/name/page">page</a> scroll view.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/zoomScale" title="zoomScale"></a>
	<h3 class="subsubtitle method-title">zoomScale</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Return the zoom scale of the <a href="#//api/name/page">page</a> scroll view.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (float)zoomScale</code></div>
	
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Return the zoom scale of the <a href="#//api/name/page">page</a> scroll view.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">MFDocumentViewController.h</code><br />
	</div>				
	
	
</div>
						
					</div>
					
					
				</div>
				<div class="main-navigation navigation-bottom">
					<ul>
	<li><a href="../index.html">Index</a></li>
	<li><a href="../hierarchy.html">Hierarchy</a></li>
</ul>
				</div>
				<div id="footer">
					<hr />
					<div class="footer-copyright">
						<p><span class="copyright">&copy; 2012 MobFarm. All rights reserved. (Last updated: 2012-01-04)</span><br />
						
						<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 748)</a>.</span></p>
						
					</div>
				</div>
			</div>
		</article>
		<script type="text/javascript">
			function jumpToChange()
			{
				window.location.hash = this.options[this.selectedIndex].value;
			}
			
			function toggleTOC()
			{
				var contents = document.getElementById('contents');
				var tocContainer = document.getElementById('tocContainer');
				
				if (this.getAttribute('class') == 'open')
				{
					this.setAttribute('class', '');
					contents.setAttribute('class', '');
					tocContainer.setAttribute('class', '');
					
					window.name = "hideTOC";
				}
				else
				{
					this.setAttribute('class', 'open');
					contents.setAttribute('class', 'isShowingTOC');
					tocContainer.setAttribute('class', 'isShowingTOC');
					
					window.name = "";
				}
				return false;
			}
			
			function toggleTOCEntryChildren(e)
			{
				e.stopPropagation();
				var currentClass = this.getAttribute('class');
				if (currentClass == 'children') {
					this.setAttribute('class', 'children open');
				}
				else if (currentClass == 'children open') {
					this.setAttribute('class', 'children');
				}
				return false;
			}
			
			function tocEntryClick(e)
			{
				e.stopPropagation();
				return true;
			}
			
			function init()
			{
				var selectElement = document.getElementById('jumpTo');
				selectElement.addEventListener('change', jumpToChange, false);
				
				var tocButton = document.getElementById('table_of_contents');
				tocButton.addEventListener('click', toggleTOC, false);
				
				var taskTreeItem = document.getElementById('task_treeitem');
				if (taskTreeItem.getElementsByTagName('li').length > 0)
				{
					taskTreeItem.setAttribute('class', 'children');
					taskTreeItem.firstChild.setAttribute('class', 'disclosure');
				}
				
				var tocList = document.getElementById('toc');
				
				var tocEntries = tocList.getElementsByTagName('li');
				for (var i = 0; i < tocEntries.length; i++) {
					tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false);
				}
				
				var tocLinks = tocList.getElementsByTagName('a');
				for (var i = 0; i < tocLinks.length; i++) {
					tocLinks[i].addEventListener('click', tocEntryClick, false);
				}
				
				if (window.name == "hideTOC") {
					toggleTOC.call(tocButton);
				}
			}
			
			window.onload = init;
		</script>
	</body>
</html>